/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.controller.parental;

/**
 *
 * @author logan
 */
public abstract class ParentalController {
    private ControleParental cp;
    public ParentalController(String dictionairy){
        cp  = new ControleParental(dictionairy);
    }
    public String filter(String text){
        return cp.filtrerMessage(text);
    } 
    
    public void on(){
        cp.activer();
    }
    
    public void off(){
        cp.desactiver();
    }
}
